FROM java:8
VOLUME /tmp
ADD ./dean-dealer.jar /dean-dealer.jar
RUN bash -c 'touch /dean-dealer.jar'
EXPOSE 8005
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=test","/dean-dealer.jar"]